package com.gitee.wsl.ext.array

val DoubleArray.mean: Double get() = if (isEmpty()) 0.0 else average()

val FloatArray.mean: Double get() = if (isEmpty()) 0.0 else average()

val IntArray.mean: Double get() = if (isEmpty()) 0.0 else average()